package entity;

public class Role {
    private int roleId;         //ID
    private String roleName;    //角色名称
    private String psIds;       //权限ID
    private String roleDesc;    //角色描述
    private int enabled;        //删除表示字段
    private String create_time;     //创建时间
    private String update_time;     //修改时间

    public Role() {
    }

    public Role(int roleId, String roleName, String psIds, String roleDesc, int enabled, String create_time, String update_time) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.psIds = psIds;
        this.roleDesc = roleDesc;
        this.enabled = enabled;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPsIds() {
        return psIds;
    }

    public void setPsIds(String psIds) {
        this.psIds = psIds;
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
